package com.minjiang.system.service.pri;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.minjiang.model.system.SysRole;
import com.minjiang.model.vo.AssginRoleVo;
import com.minjiang.model.vo.SysRoleQueryVo;

import java.util.Map;

/**
* @author Administrator
* @description 针对表【sys_role(角色)】的数据库操作Service
* @createDate 2022-12-09 12:03:12
*/
public interface SysRoleService extends IService<SysRole> {

    IPage<SysRole> selectPage(Page<SysRole> pageParam, SysRoleQueryVo roleQueryVo);

    Map<String, Object> getRolesByUserId(Long userId);

    void doAssign(AssginRoleVo assginRoleVo);
}
